/**
 * 
 */
package com.pzitsoft.videoteca.service;

import org.springframework.beans.factory.annotation.Autowired;

import com.pzitsoft.videoteca.dao.PersonaDAO;
import com.pzitsoft.videoteca.domain.Actor;
import com.pzitsoft.videoteca.domain.Director;

/**
 * @author pferraz
 *
 */
public class PersonaManagerImpl implements PersonaManager {

	@Autowired
	private PersonaDAO personaDAO;
	/* (non-Javadoc)
	 * @see com.pzitsoft.videoteca.service.ActorManager#addActor(com.pzitsoft.videoteca.domain.Actor)
	 */
	@Override
	public boolean addActor(Actor a) {
		// TODO Auto-generated method stub
		return personaDAO.addActor(a);
	}
	
	@Override
	public boolean addDirector(Director d) {
		// TODO Auto-generated method stub
		return personaDAO.addDirector(d);
	}

}
